package com.tlgen.mapper;

import com.tlgen.model.Record;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: tlgen
 * @Discription:
 */
public interface RecordMapper {

    Long getTotal(@Param("re") Record record);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(Record record);

    int updateByPrimaryKeySelective(Record record);

    List<Record> getRecordByPage(@Param("page") Integer page, @Param("size") Integer size, @Param("re") Record record);

}
